<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.css}">
    <link rel="stylesheet" th:href="@{/css/common.css}">
</head>
<body>
<div th:insert="~{common/header::header2}"></div>
<div class="container-fluid">
    <div class="row">
        <div th:insert="~{common/menu::menu}" class="col-md-2"></div>
        <div class="col-md-10">
            <ul class="breadcrumb">
                <li><a th:href="@{/main.do}">后台主页</a></li>
                <li>辟谣管理</li>
                <li>辟谣信息录入</li>
            </ul>
            <form class="form-horizontal" th:action="@{/refutation-info/input.do}">
                <input type="hidden" name="userId" th:value="${session.loginUser.getUserId()}">
                <input type="hidden" name="userName" th:value="${session.loginUser.getUserName()}">
                <input type="hidden" name="loginName" th:value="${session.loginUser.getLoginName()}">
                <input type="hidden" name="rumourId" th:value="${rumourInfo.getRumourId()}">
                <div class="form-group row justify-content-sm-center">
                    <label for="refutationTitle" class="col-sm-2 col-form-label font-weight-bolder">谣言内容</label>
                    <div class="col-sm-5">
                        <textarea th:text="${rumourInfo.getRumourContent()}"  class="form-control" id="refutationTitle" name="refutationTitle"></textarea>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="refutationContent" class="col-sm-2 col-form-label font-weight-bolder">辟谣内容</label>
                    <div class="col-sm-5">
                        <textarea class="form-control" id="refutationContent" rows="3" name="refutationContent"></textarea>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="result" class="col-sm-2 col-form-label font-weight-bolder">结果</label>
                    <div class="col-sm-5">
                        <input type="text"  class="form-control" id="result" name="result" placeholder="请输入结果" required>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="explain" class="col-sm-2 col-form-label font-weight-bolder">结果解释</label>
                    <div class="col-sm-5">
                        <input type="text"  class="form-control" id="explain" name="explain" placeholder="请输入结果解释" required>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="author" class="col-sm-2 col-form-label font-weight-bolder">辟谣机构</label>
                    <div class="col-sm-5">
                        <input type="text"  class="form-control" id="author" name="author" placeholder="请输入辟谣机构" required>
                    </div>
                </div>
                <div class="form-group row justify-content-sm-center">
                    <label for="date" class="col-sm-2 col-form-label font-weight-bolder">辟谣日期</label>
                    <div class="col-sm-5">
                        <input type="text"  class="form-control" id="date" name="date" placeholder="请输入辟谣日期：如 2020-01-01" required>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="btn btn-success btn-sm">立即提交</button>
                        <button type="reset" class="btn btn-danger btn-sm">重置</button>
                    </div>
                </div>
            </form>
        </div>

    </div>
</div>
</body>
<script th:src="@{/jquery/jquery-3.5.1.js}"></script>
<script th:src="@{/bootstrap/js/bootstrap.js}"></script>
<script th:src="@{/bootstrap/datepicker/bootstrap-datepicker.js}"></script>
<script th:src="@{/bootstrap/datepicker/bootstrap-datepicker.zh-CN.min.js}"></script>
<script th:inline="javascript">

</script>
</html>